package com.zerocarbon.framework.core.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import static com.zerocarbon.framework.core.properties.TraceProperties.PREFIX;

/**
 * 日志链路追踪配置
 * @author wyf
 * @date 2020年3月5日
 */
@Setter
@Getter
@ConfigurationProperties(prefix = PREFIX)
//@RefreshScope
public class TraceProperties {
	
	public static final String PREFIX = "zerocarbon.trace";
	
    /**
     * 是否开启日志链路追踪
     */
    private Boolean enable = true;
}
